

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>Chart (lv_chart) &mdash; LittlevGL 6.1.2 documentation</title>
  

  
  
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
  
  
  

  
  <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
        <script src="../_static/language_data.js"></script>
    
    <script type="text/javascript" src="../_static/js/theme.js"></script>

    

  
  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/fontawesome.min.css" type="text/css" />
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Container (lv_cont)" href="cont.html" />
    <link rel="prev" title="Checkbox (lv_cb)" href="cb.html" />
 
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78811084-3"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-78811084-3');
</script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../index.html">
          

          
            
            <img src="../_static/white_white_lvgl_full_logo.svg" class="logo" alt="Logo"/>
          
          </a>

          
            
            
              <div class="version">
                6.1.2
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../get-started/index.html">Get started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../get-started/live-demo.html">Live demos</a></li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/pc-simulator.html">Simulator on PC</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#select-an-ide">Select an IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#set-up-eclipse-cdt">Set-up Eclipse CDT</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-eclipse-cdt">Install Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-sdl-2">Install SDL 2</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#pre-configured-project">Pre-configured project</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#add-the-pre-configured-project-to-eclipse-cdt">Add the pre-configured project to Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#compile-and-run">Compile and Run</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/quick-overview.html">Quick overview</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#add-littlevgl-into-your-project">Add LittlevGL into your project</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#learn-the-basics">Learn the basics</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#objects-widgets">Objects (Widgets)</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#styles">Styles</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#events">Events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#button-with-label">Button with label</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#button-with-styles">Button with styles</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#slider-and-object-alignment">Slider and object alignment</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#list-and-themes">List and themes</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#use-littlevgl-from-micropython">Use LittlevGL from Micropython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#contributing">Contributing</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/micropython.html">Micropython</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#what-is-micropython">What is Micropython?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#highlights-of-micropython">Highlights of Micropython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#why-micropython-littlevgl">Why Micropython + LittlevGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#here-are-some-advantages-of-using-littlevgl-in-micropython">Here are some advantages of using LittlevGL in Micropython:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#micropython-littlevgl-could-be-used-for">Micropython + LittlevGL could be used for:</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#so-what-does-it-look-like">So what does it look like?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#a-simple-example">A simple example</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#how-can-i-use-it">How can I use it?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#online-simulator">Online Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#pc-simulator">PC Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#embedded-platform">Embedded platform</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#where-can-i-find-more-information">Where can I find more information?</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../porting/index.html">Porting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../porting/sys.html">System overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/project.html">Set-up a project</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#get-the-library">Get the library</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#configuration-file">Configuration file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#initialization">Initialization</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/display.html">Display interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-buffer">Display buffer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-driver">Display driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/indev.html">Input device interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#types-of-input-devices">Types of input devices</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#touchpad-mouse-or-any-pointer">Touchpad, mouse or any pointer</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#keypad-or-keyboard">Keypad or keyboard</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#encoder">Encoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#button">Button</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#other-features">Other features</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/tick.html">Tick interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/tick.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/task-handler.html">Task Handler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/sleep.html">Sleep management</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/os.html">Operating system and interrupts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#tasks-and-threads">Tasks and threads</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#interrupts">Interrupts</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/log.html">Logging</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#log-level">Log level</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#logging-with-printf">Logging with printf</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#custom-log-function">Custom log function</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#add-logs">Add logs</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../overview/index.html">Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../overview/object.html">Objects</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#object-attributes">Object attributes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#basic-attributes">Basic attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#specific-attributes">Specific attributes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#object-s-working-mechanisms">Object’s working mechanisms</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#parent-child-structure">Parent-child structure</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#moving-together">Moving together</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#visibility-only-on-the-parent">Visibility only on the parent</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#create-delete-objects">Create - delete objects</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#screen-the-most-basic-parent">Screen – the most basic parent</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/layer.html">Layers</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#order-of-creation">Order of creation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#bring-to-the-foreground">Bring to the foreground</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#top-and-sys-layers">Top and sys layers</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/event.html">Events</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#event-types">Event types</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#generic-events">Generic events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#special-events">Special events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#custom-data">Custom data</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#send-events-manually">Send events manually</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/style.html">Styles</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#use-the-styles">Use the styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#inherit-styles">Inherit styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#style-properties">Style properties</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#common-properties">Common properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#body-style-properties">Body style properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#text-style-properties">Text style properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#image-style-properties">Image style properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#line-style-properties">Line style properties</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#built-in-styles">Built-in styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#create-new-styles">Create new styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#style-animations">Style animations</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#style-example">Style example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#themes">Themes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#live-update">Live update</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/indev.html">Input devices</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#pointers">Pointers</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#keypad-and-encoder">Keypad and encoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#complete-example">Complete example</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#input-device">Input device</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#id1">Groups</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/display.html">Displays</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#using-only-one-display">Using only one display</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#mirror-display">Mirror display</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#split-image">Split image</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#screens">Screens</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#opaque-screen">Opaque screen</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#features-of-displays">Features of displays</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#inactivity">Inactivity</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#colors">Colors</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#convert-color">Convert color</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#swap-16-colors">Swap 16 colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#create-and-mix-colors">Create and mix colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#opacity">Opacity</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#built-in-colors">Built-in colors</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#display">Display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#id1">Colors</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/font.html">Fonts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#unicode-support">Unicode support</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#built-in-fonts">Built-in fonts</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#special-features">Special features</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#bidirectional-support">Bidirectional support</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#subpixel-rendering">Subpixel rendering</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#compress-fonts">Compress fonts</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-font">Add new font</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-symbols">Add new symbols</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-a-new-font-engine">Add a new font engine</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/image.html">Images</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#store-images">Store images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#variables">Variables</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#files">Files</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#color-formats">Color formats</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#add-and-use-images">Add and use images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#online-converter">Online converter</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-create-an-image">Manually create an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#use-images">Use images</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-decoder">Image decoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#custom-image-formats">Custom image formats</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#register-an-image-decoder">Register an image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-use-an-image-decoder">Manually use an image decoder</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-caching">Image caching</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#cache-size">Cache size</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#value-of-images">Value of images</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#memory-usage">Memory usage</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#clean-the-cache">Clean the cache</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#id1">Image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-cache">Image cache</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/file-system.html">File system</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#add-a-driver">Add a driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#usage-example">Usage example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#use-drivers-for-images">Use drivers for images</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/animation.html">Animations</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#create-an-animation">Create an animation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#animation-path">Animation path</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#speed-vs-time">Speed vs time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#delete-animations">Delete animations</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/animation.html#input-device">Input device</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/task.html">Tasks</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#create-a-task">Create a task</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#ready-and-reset">Ready and Reset</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#set-parameters">Set parameters</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#one-shot-tasks">One-shot tasks</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#measure-idle-time">Measure idle time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#asynchronous-calls">Asynchronous calls</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/drawing.html">Drawing</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#buffering-types">Buffering types</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#mechanism-of-screen-refreshing">Mechanism of screen refreshing</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Object types (Widgets)</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="obj.html">Base object (lv_obj)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="obj.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="obj.html#coordinates">Coordinates</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#parents-and-children">Parents and children</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#screens">Screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#layers">Layers</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#style">Style</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#events">Events</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#attributes">Attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#opa-scale">Opa scale</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#protect">Protect</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#extended-click-area">Extended click area</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#id1">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="obj.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="arc.html">Arc (lv_arc)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="arc.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#angles">Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="bar.html">Bar (lv_bar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="bar.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#value-and-range">Value and range</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#symmetrical">Symmetrical</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btn.html">Button (lv_btn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btn.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#toggle">Toggle</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#layout-and-fit">Layout and Fit</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#ink-effect">Ink effect</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btnm.html">Button matrix (lv_btnm)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#button-s-text">Button’s text</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#one-toggle">One toggle</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="calendar.html">Calendar (lv_calendar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#current-date">Current date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#shown-date">Shown date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#highlighted-days">Highlighted days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-days">Name of the days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-months">Name of the months</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="canvas.html">Canvas (lv_canvas)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#buffer">Buffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#palette">Palette</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#drawing">Drawing</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#rotate">Rotate</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cb.html">Checkbox (lv_cb)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cb.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cb.html#text">Text</a></li>
<li class="toctree-l4"><a class="reference internal" href="cb.html#check-uncheck">Check/Uncheck</a></li>
<li class="toctree-l4"><a class="reference internal" href="cb.html#inactive">Inactive</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cb.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cb.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Chart (lv_chart)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#data-series">Data series</a></li>
<li class="toctree-l4"><a class="reference internal" href="#series-type">Series’ type</a></li>
<li class="toctree-l4"><a class="reference internal" href="#modify-the-data">Modify the data</a></li>
<li class="toctree-l4"><a class="reference internal" href="#update-modes">Update modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="#number-of-points">Number of points</a></li>
<li class="toctree-l4"><a class="reference internal" href="#vertical-range">Vertical range</a></li>
<li class="toctree-l4"><a class="reference internal" href="#division-lines">Division lines</a></li>
<li class="toctree-l4"><a class="reference internal" href="#series-appearance">Series’ appearance</a></li>
<li class="toctree-l4"><a class="reference internal" href="#tick-marks-and-labels">Tick marks and labels</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cont.html">Container (lv_cont)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cont.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#autofit">Autofit</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cpicker.html">Color picker (lv_cpicker)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#types-of-color-pickers">Types of color pickers</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#example">Example</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="ddlist.html">Drop-down list (lv_ddlist)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#align-the-options">Align the options</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#height-and-width">Height and width</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#decoration-arrow">Decoration arrow</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#manually-open-close">Manually open/close</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#stay-open">Stay open</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="gauge.html">Gauge (lv_gauge)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#scale">Scale</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#needles">Needles</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#range">Range</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#critical-value">Critical value</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="img.html">Image (lv_img)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="img.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#image-source">Image source</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#label-as-an-image">Label as an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#transparency">Transparency</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#palette-and-alpha-index">Palette and Alpha index</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#mosaic">Mosaic</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#offset">Offset</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="imgbtn.html">Image button (lv_imgbtn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#image-sources">Image sources</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#toggle">Toggle</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="kb.html">Keyboard (lv_kb)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="kb.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="kb.html#modes">Modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="kb.html#assign-text-area">Assign Text area</a></li>
<li class="toctree-l4"><a class="reference internal" href="kb.html#new-keymap">New Keymap</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="kb.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="kb.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="label.html">Label (lv_label)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="label.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#line-break">Line break</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#long-modes">Long modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#draw-background">Draw background</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-recolor">Text recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#symbols">Symbols</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="led.html">LED (lv_led)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="led.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#brightness">Brightness</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#toggle">Toggle</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="line.html">Line (lv_line)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="line.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#set-points">Set points</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#invert-y">Invert y</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="list.html">List (lv_list)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="list.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#delete-buttons">Delete buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="lmeter.html">Line meter (lv_lmeter)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#set-value">Set value</a></li>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#range-and-angles">Range and Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#angle-offset">Angle offset</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="mbox.html">Message box (lv_mbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#auto-close">Auto-close</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="page.html">Page (lv_page)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="page.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#glue-object">Glue object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#focus-object">Focus object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollable-api">Scrollable API</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="preload.html">Preloader (lv_preload)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="preload.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="preload.html#arc-length">Arc length</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#spinning-speed">Spinning speed</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#spin-types">Spin types</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#spin-direction">Spin direction</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="preload.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="roller.html">Roller (lv_roller)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="roller.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#align-the-options">Align the options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#height-and-width">Height and width</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="slider.html">Slider (lv_slider)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="slider.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#value-and-range">Value and range</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#symmetrical">Symmetrical</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#knob-placement">Knob placement</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="spinbox.html">Spinbox (lv_spinbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#set-format">Set format</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#value-and-ranges">Value and ranges</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#api">API</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#id1">Example</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="sw.html">Switch (lv_sw)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="sw.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="sw.html#change-state">Change state</a></li>
<li class="toctree-l4"><a class="reference internal" href="sw.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="sw.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="sw.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="table.html">Table (lv_table)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="table.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#rows-and-columns">Rows and Columns</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#width-and-height">Width and Height</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#set-cell-value">Set cell value</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#align">Align</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#cell-type">Cell type</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#merge-cells">Merge cells</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#crop-text">Crop text</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#scroll">Scroll</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tabview.html">Tabview (lv_tabview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#adding-tab">Adding tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#change-tab">Change tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#tab-button-s-position">Tab button’s position</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#hide-the-tabs">Hide the tabs</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="ta.html">Text area (lv_ta)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="ta.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ta.html#add-text">Add text</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#placeholder">Placeholder</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#delete-character">Delete character</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#move-the-cursor">Move the cursor</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#cursor-types">Cursor types</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#one-line-mode">One line mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#password-mode">Password mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#accepted-characters">Accepted characters</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#max-text-length">Max text length</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#select-text">Select text</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ta.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tileview.html">Tile view (lv_tileview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#valid-positions">Valid positions</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#add-element">Add element</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#set-tile">Set tile</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="win.html">Window (lv_win)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="win.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#title">Title</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#manual-scroll-and-focus">Manual scroll and focus</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#layout">Layout</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#api">API</a></li>
</ul>
</li>
</ul>
</li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">LittlevGL</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html">Docs</a> &raquo;</li>
        
          <li><a href="index.html">Object types (Widgets)</a> &raquo;</li>
        
      <li>Chart (lv_chart)</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            
              <!-- User defined GitHub URL -->
              <a href="https://github.com/littlevgl/docs/blob/master/en/object-types/chart.md" class="fa fa-github"> Edit on GitHub</a>
            
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="chart-lv-chart">
<h1>Chart (lv_chart)<a class="headerlink" href="#chart-lv-chart" title="Permalink to this headline">¶</a></h1>
<div class="section" id="overview">
<h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
<p>Charts consist of the following:</p>
<ul class="simple">
<li><p>A background</p></li>
<li><p>Horizontal and vertical division lines</p></li>
<li><p>Data series, which can be represented with points, lines, columns, or filled areas.</p></li>
</ul>
<div class="section" id="data-series">
<h3>Data series<a class="headerlink" href="#data-series" title="Permalink to this headline">¶</a></h3>
<p>You can add any number of series to the charts by <code class="docutils literal notranslate"><span class="pre">lv_chart_add_series(chart,</span> <span class="pre">color)</span></code>.
It allocates data for a <code class="docutils literal notranslate"><span class="pre">lv_chart_series_t</span></code> structure which contains the chosen <code class="docutils literal notranslate"><span class="pre">color</span></code> and an array for the data points.</p>
</div>
<div class="section" id="series-type">
<h3>Series’ type<a class="headerlink" href="#series-type" title="Permalink to this headline">¶</a></h3>
<p>The following <strong>data display types</strong> exist:</p>
<ul class="simple">
<li><p><strong>LV_CHART_TYPE_NONE</strong> - Do not display any data. It can be used to hide a series.</p></li>
<li><p><strong>LV_CHART_TYPE_LINE</strong> - Draw lines between the points.</p></li>
<li><p><strong>LV_CHART_TYPE_COL</strong> - Draw columns.</p></li>
<li><p><strong>LV_CHART_TYPE_POINT</strong> - Draw points.</p></li>
<li><p><strong>LV_CHART_TYPE_AREA</strong> - Draw areas (fill the area below the lines).</p></li>
<li><p><strong>LV_CHART_TYPE_VERTICAL_LINE</strong> - Draw only vertical lines to connect the points. Useful if the chart width is equal to the number of points, because it can redraw much faster than the <code class="docutils literal notranslate"><span class="pre">LV_CHART_TYPE_AREA</span></code>.</p></li>
</ul>
<p>You can specify the display type with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_type(chart,</span> <span class="pre">LV_CHART_TYPE_...)</span></code>. The types can be ‘OR’ed (like <code class="docutils literal notranslate"><span class="pre">LV_CHART_TYPE_LINE</span> <span class="pre">|</span> <span class="pre">LV_CHART_TYPE_POINT</span></code>).</p>
</div>
<div class="section" id="modify-the-data">
<h3>Modify the data<a class="headerlink" href="#modify-the-data" title="Permalink to this headline">¶</a></h3>
<p>You have several options to set the data of series:</p>
<ol class="simple">
<li><p>Set the values manually in the array like <code class="docutils literal notranslate"><span class="pre">ser1-&gt;points[3]</span> <span class="pre">=</span> <span class="pre">7</span></code> and refresh the chart with <code class="docutils literal notranslate"><span class="pre">lv_chart_refresh(chart)</span></code>.</p></li>
<li><p>Use the <code class="docutils literal notranslate"><span class="pre">lv_chart_set_next(chart,</span> <span class="pre">ser,</span> <span class="pre">value)</span></code>.</p></li>
<li><p>Initialize all points to a given value with: <code class="docutils literal notranslate"><span class="pre">lv_chart_init_points(chart,</span> <span class="pre">ser,</span> <span class="pre">value)</span></code>.</p></li>
<li><p>Set all points from an array with: <code class="docutils literal notranslate"><span class="pre">lv_chart_set_points(chart,</span> <span class="pre">ser,</span> <span class="pre">value_array)</span></code>.</p></li>
</ol>
<p>Use <code class="docutils literal notranslate"><span class="pre">LV_CHART_POINT_DEF</span></code> as value to make the library skip drawing that point, column, or line segment.</p>
</div>
<div class="section" id="update-modes">
<h3>Update modes<a class="headerlink" href="#update-modes" title="Permalink to this headline">¶</a></h3>
<p><code class="docutils literal notranslate"><span class="pre">lv_chart_set_next</span></code> can behave in two ways depending on <em>update mode</em>:</p>
<ul class="simple">
<li><p><strong>LV_CHART_UPDATE_MODE_SHIFT</strong> - Shift old data to the left and add the new one o the right.</p></li>
<li><p><strong>LV_CHART_UPDATE_MODE_CIRCULAR</strong> - Circularly add the new data (Like an ECG diagram).</p></li>
</ul>
<p>The update mode can be changed with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_update_mode(chart,</span> <span class="pre">LV_CHART_UPDATE_MODE_...)</span></code>.</p>
</div>
<div class="section" id="number-of-points">
<h3>Number of points<a class="headerlink" href="#number-of-points" title="Permalink to this headline">¶</a></h3>
<p>The number of points in the series can be modified by <code class="docutils literal notranslate"><span class="pre">lv_chart_set_point_count(chart,</span> <span class="pre">point_num)</span></code>. The default value is 10.</p>
</div>
<div class="section" id="vertical-range">
<h3>Vertical range<a class="headerlink" href="#vertical-range" title="Permalink to this headline">¶</a></h3>
<p>You can specify the minimum and maximum values in y-direction with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_range(chart,</span> <span class="pre">y_min,</span> <span class="pre">y_max)</span></code>. The value of the points will be scaled proportionally. The default range is: 0..100.</p>
</div>
<div class="section" id="division-lines">
<h3>Division lines<a class="headerlink" href="#division-lines" title="Permalink to this headline">¶</a></h3>
<p>The number of horizontal and vertical division lines can be modified by <code class="docutils literal notranslate"><span class="pre">lv_chart_set_div_line_count(chart,</span> <span class="pre">hdiv_num,</span> <span class="pre">vdiv_num)</span></code>. The default settings are 3 horizontal and 5 vertical division lines.</p>
</div>
<div class="section" id="series-appearance">
<h3>Series’ appearance<a class="headerlink" href="#series-appearance" title="Permalink to this headline">¶</a></h3>
<p>To set the <strong>line width</strong> and <strong>point radius</strong> of the series, use the <code class="docutils literal notranslate"><span class="pre">lv_chart_set_series_width(chart,</span> <span class="pre">size)</span></code> function. The default value is 2.</p>
<p>The <strong>opacity of the data lines</strong> can be specified by <code class="docutils literal notranslate"><span class="pre">lv_chart_set_series_opa(chart,</span> <span class="pre">opa)</span></code>. The default value is <code class="docutils literal notranslate"><span class="pre">LV_OPA_COVER</span></code>.</p>
<p>You can apply a <strong>dark color fade</strong> on the bottom of columns and points by <code class="docutils literal notranslate"><span class="pre">lv_chart_set_series_darking(chart,</span> <span class="pre">effect)</span></code> function. The default dark level is <code class="docutils literal notranslate"><span class="pre">LV_OPA_50</span></code>.</p>
</div>
<div class="section" id="tick-marks-and-labels">
<h3>Tick marks and labels<a class="headerlink" href="#tick-marks-and-labels" title="Permalink to this headline">¶</a></h3>
<p>Ticks and labels beside them can be added.</p>
<p><strong><code class="docutils literal notranslate"><span class="pre">lv_chart_set_margin(chart,</span> <span class="pre">20)</span></code> needs to be used to add some extra space around the chart for the ticks and texts. Otherwise, you will not see them at all. You may need to adjust the number 20 depending on your requirements.</strong></p>
<p><code class="docutils literal notranslate"><span class="pre">lv_chart_set_x_tick_text(chart,</span> <span class="pre">list_of_values,</span> <span class="pre">num_tick_marks,</span> <span class="pre">LV_CHART_AXIS_...)</span></code> set the ticks and texts on x axis.
<code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> is a string with <code class="docutils literal notranslate"><span class="pre">'\n'</span></code> terminated text (expect the last) with text for the ticks. E.g. <code class="docutils literal notranslate"><span class="pre">const</span> <span class="pre">char</span> <span class="pre">*</span> <span class="pre">list_of_values</span> <span class="pre">=</span> <span class="pre">&quot;first\nseco\nthird&quot;</span></code>. <code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> can be <code class="docutils literal notranslate"><span class="pre">NULL</span></code>.
If <code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> is set then <code class="docutils literal notranslate"><span class="pre">num_tick_marks</span></code> tells the number of ticks between two labels.  If <code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> is <code class="docutils literal notranslate"><span class="pre">NULL</span></code> then it specifies the total number of ticks.</p>
<p><em>Major tick lines</em> are drawn where text is placed, and <em>minor tick lines</em> are drawn elsewhere. <code class="docutils literal notranslate"><span class="pre">lv_chart_set_x_tick_length(chart,</span> <span class="pre">major_tick_len,</span> <span class="pre">minor_tick_len)</span></code> sets the length of tick lines on the x-axis.</p>
<p>The same functions exists for the y axis too: <code class="docutils literal notranslate"><span class="pre">lv_chart_set_y_tick_text</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_chart_set_y_tick_length</span></code>.</p>
</div>
</div>
<div class="section" id="styles">
<h2>Styles<a class="headerlink" href="#styles" title="Permalink to this headline">¶</a></h2>
<p>You can set the styles with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_style(btn,</span> <span class="pre">LV_CHART_STYLE_MAIN,</span> <span class="pre">&amp;style)</span></code>.</p>
<ul class="simple">
<li><p><strong>style.body</strong> - properties set the background’s appearance.</p></li>
<li><p><strong>style.line</strong> - properties set the division lines’ appearance.</p></li>
<li><p><strong>style.text</strong> - properties set the axis labels’ appearance.</p></li>
</ul>
</div>
<div class="section" id="events">
<h2>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h2>
<p>Only the <a class="reference external" href="/overview/event.html#generic-events">Generic events</a> are sent by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/event.html"><span class="doc">Events</span></a>.</p>
</div>
<div class="section" id="keys">
<h2>Keys<a class="headerlink" href="#keys" title="Permalink to this headline">¶</a></h2>
<p>No <em>Keys</em> are processed by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/indev.html"><span class="doc">Keys</span></a>.</p>
</div>
<div class="section" id="example">
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
<div class="section" id="c">
<h3>C<a class="headerlink" href="#c" title="Permalink to this headline">¶</a></h3>
<div class="section" id="line-chart">
<h4>Line Chart<a class="headerlink" href="#line-chart" title="Permalink to this headline">¶</a></h4>
<img alt="Simple Chart example in LittlevGL" src="../_images/lv_ex_chart_1.png" />
<div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span> <span class="cpf">&quot;lvgl/lvgl.h&quot;</span><span class="cp"></span>

<span class="kt">void</span> <span class="nf">lv_ex_chart_1</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span>
<span class="p">{</span>
    <span class="cm">/*Create a chart*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">chart</span><span class="p">;</span>
    <span class="n">chart</span> <span class="o">=</span> <span class="n">lv_chart_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="nb">NULL</span><span class="p">);</span>
    <span class="n">lv_obj_set_size</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="mi">200</span><span class="p">,</span> <span class="mi">150</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
    <span class="n">lv_chart_set_type</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_TYPE_POINT</span> <span class="o">|</span> <span class="n">LV_CHART_TYPE_LINE</span><span class="p">);</span>   <span class="cm">/*Show lines and points too*/</span>
    <span class="n">lv_chart_set_series_opa</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_OPA_70</span><span class="p">);</span>                            <span class="cm">/*Opacity of the data series*/</span>
    <span class="n">lv_chart_set_series_width</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="mi">4</span><span class="p">);</span>                                  <span class="cm">/*Line width and point radious*/</span>

    <span class="n">lv_chart_set_range</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">100</span><span class="p">);</span>

    <span class="cm">/*Add two data series*/</span>
    <span class="n">lv_chart_series_t</span> <span class="o">*</span> <span class="n">ser1</span> <span class="o">=</span> <span class="n">lv_chart_add_series</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_COLOR_RED</span><span class="p">);</span>
    <span class="n">lv_chart_series_t</span> <span class="o">*</span> <span class="n">ser2</span> <span class="o">=</span> <span class="n">lv_chart_add_series</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_COLOR_GREEN</span><span class="p">);</span>

    <span class="cm">/*Set the next points on &#39;dl1&#39;*/</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">30</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">70</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">90</span><span class="p">);</span>

    <span class="cm">/*Directly set points on &#39;dl2&#39;*/</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">=</span> <span class="mi">90</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="mi">70</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">2</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">3</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">4</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">5</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">6</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">7</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">8</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">9</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>

    <span class="n">lv_chart_refresh</span><span class="p">(</span><span class="n">chart</span><span class="p">);</span> <span class="cm">/*Required after direct set*/</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
</div>
</div>
<div class="section" id="micropython">
<h3>MicroPython<a class="headerlink" href="#micropython" title="Permalink to this headline">¶</a></h3>
<div class="section" id="id1">
<h4>Line Chart<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h4>
<img alt="Simple Chart example in LittlevGL" src="../_images/lv_ex_chart_1.png" />
<div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Create a chart</span>
<span class="n">chart</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">())</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_size</span><span class="p">(</span><span class="mi">200</span><span class="p">,</span> <span class="mi">150</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="bp">None</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_type</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">TYPE</span><span class="o">.</span><span class="n">POINT</span> <span class="o">|</span> <span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">TYPE</span><span class="o">.</span><span class="n">LINE</span><span class="p">)</span>   <span class="c1"># Show lines and points too</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_series_opa</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">OPA</span><span class="o">.</span><span class="n">_70</span><span class="p">)</span>                           <span class="c1"># Opacity of the data series</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_series_width</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span>                                  <span class="c1"># Line width and point radious</span>

<span class="n">chart</span><span class="o">.</span><span class="n">set_range</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">100</span><span class="p">)</span>

<span class="c1"># Add two data series</span>
<span class="n">ser1</span> <span class="o">=</span> <span class="n">chart</span><span class="o">.</span><span class="n">add_series</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">color_make</span><span class="p">(</span><span class="mh">0xFF</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">))</span>
<span class="n">ser2</span> <span class="o">=</span> <span class="n">chart</span><span class="o">.</span><span class="n">add_series</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">color_make</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mh">0x80</span><span class="p">,</span><span class="mi">0</span><span class="p">))</span>

<span class="c1"># Set points on &#39;dl1&#39;</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_points</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span> <span class="p">[</span><span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">30</span><span class="p">,</span> <span class="mi">70</span><span class="p">,</span> <span class="mi">90</span><span class="p">])</span>

<span class="c1"># Set points on &#39;dl2&#39;</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_points</span><span class="p">(</span><span class="n">ser2</span><span class="p">,</span> <span class="p">[</span><span class="mi">90</span><span class="p">,</span> <span class="mi">70</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">])</span>
</pre></div>
</div>
</div>
</div>
</div>
</div>
<div class="section" id="api">
<h2>API<a class="headerlink" href="#api" title="Permalink to this headline">¶</a></h2>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="cpp type">
<dt id="_CPPv415lv_chart_type_t">
<span id="_CPPv315lv_chart_type_t"></span><span id="_CPPv215lv_chart_type_t"></span><span id="lv_chart_type_t"></span><span class="target" id="lv__chart_8h_1a498d916927185ea0556e99215a10d235"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_chart_type_t</code><a class="headerlink" href="#_CPPv415lv_chart_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv422lv_chart_update_mode_t">
<span id="_CPPv322lv_chart_update_mode_t"></span><span id="_CPPv222lv_chart_update_mode_t"></span><span id="lv_chart_update_mode_t"></span><span class="target" id="lv__chart_8h_1acd87f4dcd0cfbdfd1da0d8ecc9a05f2d"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_chart_update_mode_t</code><a class="headerlink" href="#_CPPv422lv_chart_update_mode_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv423lv_chart_axis_options_t">
<span id="_CPPv323lv_chart_axis_options_t"></span><span id="_CPPv223lv_chart_axis_options_t"></span><span id="lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1aecd738e22761457fbdffad5027dd15b8"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_chart_axis_options_t</code><a class="headerlink" href="#_CPPv423lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv416lv_chart_style_t">
<span id="_CPPv316lv_chart_style_t"></span><span id="_CPPv216lv_chart_style_t"></span><span id="lv_chart_style_t"></span><span class="target" id="lv__chart_8h_1ab1b20d74d30abaf0cdeb5d19c0bd1ed2"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_chart_style_t</code><a class="headerlink" href="#_CPPv416lv_chart_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="cpp enum">
<dt id="_CPPv4Ut2_49">
<span id="_CPPv3Ut2_49"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cff"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut2_49" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Chart types </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_4918LV_CHART_TYPE_NONEE">
<span id="_CPPv3NUt2_4918LV_CHART_TYPE_NONEE"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cffa3781231f7433084a6882833b90b2b287"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_TYPE_NONE</code> = 0x00<a class="headerlink" href="#_CPPv4NUt2_4918LV_CHART_TYPE_NONEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Don’t draw the series </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_4918LV_CHART_TYPE_LINEE">
<span id="_CPPv3NUt2_4918LV_CHART_TYPE_LINEE"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cffabff0662492b645adf865b30f5b0d2b89"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_TYPE_LINE</code> = 0x01<a class="headerlink" href="#_CPPv4NUt2_4918LV_CHART_TYPE_LINEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Connect the points with lines </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_4920LV_CHART_TYPE_COLUMNE">
<span id="_CPPv3NUt2_4920LV_CHART_TYPE_COLUMNE"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cffabf19f5d6ed792beb06c7f7b49761a64b"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_TYPE_COLUMN</code> = 0x02<a class="headerlink" href="#_CPPv4NUt2_4920LV_CHART_TYPE_COLUMNE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw columns </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_4919LV_CHART_TYPE_POINTE">
<span id="_CPPv3NUt2_4919LV_CHART_TYPE_POINTE"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cffa4c9c7776ef31f2c44e5532916600c075"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_TYPE_POINT</code> = 0x04<a class="headerlink" href="#_CPPv4NUt2_4919LV_CHART_TYPE_POINTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw circles on the points </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_4927LV_CHART_TYPE_VERTICAL_LINEE">
<span id="_CPPv3NUt2_4927LV_CHART_TYPE_VERTICAL_LINEE"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cffaa248d8b681d5cacd0c1fc6dda0282afe"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_TYPE_VERTICAL_LINE</code> = 0x08<a class="headerlink" href="#_CPPv4NUt2_4927LV_CHART_TYPE_VERTICAL_LINEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw vertical lines on points (useful when chart width == point count) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_4918LV_CHART_TYPE_AREAE">
<span id="_CPPv3NUt2_4918LV_CHART_TYPE_AREAE"></span><span class="target" id="lv__chart_8h_1af715e26dfffd1f8de1c18449e2770cffa2162dd83f827b025c61d5641cbdd95b7"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_TYPE_AREA</code> = 0x10<a class="headerlink" href="#_CPPv4NUt2_4918LV_CHART_TYPE_AREAE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw area chart </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_50">
<span id="_CPPv3Ut2_50"></span><span class="target" id="lv__chart_8h_1afb730582952b7ceec73d7dc9bf7bef39"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut2_50" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Chart update mode for <code class="docutils literal notranslate"><span class="pre">lv_chart_set_next</span></code> </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_5026LV_CHART_UPDATE_MODE_SHIFTE">
<span id="_CPPv3NUt2_5026LV_CHART_UPDATE_MODE_SHIFTE"></span><span class="target" id="lv__chart_8h_1afb730582952b7ceec73d7dc9bf7bef39a9a0b47047328265061fc1ea51dc08f46"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_UPDATE_MODE_SHIFT</code><a class="headerlink" href="#_CPPv4NUt2_5026LV_CHART_UPDATE_MODE_SHIFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Shift old data to the left and add the new one o the right </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_5029LV_CHART_UPDATE_MODE_CIRCULARE">
<span id="_CPPv3NUt2_5029LV_CHART_UPDATE_MODE_CIRCULARE"></span><span class="target" id="lv__chart_8h_1afb730582952b7ceec73d7dc9bf7bef39a515b1f581d44fc656b1dc7a3b560b6f6"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_UPDATE_MODE_CIRCULAR</code><a class="headerlink" href="#_CPPv4NUt2_5029LV_CHART_UPDATE_MODE_CIRCULARE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Add the new data in a circular way </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_51">
<span id="_CPPv3Ut2_51"></span><span class="target" id="lv__chart_8h_1afccd240f973cf154952fb917c9209719"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut2_51" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Data of axis </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_5128LV_CHART_AXIS_SKIP_LAST_TICKE">
<span id="_CPPv3NUt2_5128LV_CHART_AXIS_SKIP_LAST_TICKE"></span><span class="target" id="lv__chart_8h_1afccd240f973cf154952fb917c9209719aaa6d8013fd860fece76906ef22f9cdd0"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_AXIS_SKIP_LAST_TICK</code> = 0x00<a class="headerlink" href="#_CPPv4NUt2_5128LV_CHART_AXIS_SKIP_LAST_TICKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>don’t draw the last tick </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_5128LV_CHART_AXIS_DRAW_LAST_TICKE">
<span id="_CPPv3NUt2_5128LV_CHART_AXIS_DRAW_LAST_TICKE"></span><span class="target" id="lv__chart_8h_1afccd240f973cf154952fb917c9209719a852104464a5ec09a422bdc7e48b2930d"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_AXIS_DRAW_LAST_TICK</code> = 0x01<a class="headerlink" href="#_CPPv4NUt2_5128LV_CHART_AXIS_DRAW_LAST_TICKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>draw the last tick </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_5134LV_CHART_AXIS_INVERSE_LABELS_ORDERE">
<span id="_CPPv3NUt2_5134LV_CHART_AXIS_INVERSE_LABELS_ORDERE"></span><span class="target" id="lv__chart_8h_1afccd240f973cf154952fb917c9209719a2969ab48d85feb3ec57a55c2be14907a"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_AXIS_INVERSE_LABELS_ORDER</code> = 0x02<a class="headerlink" href="#_CPPv4NUt2_5134LV_CHART_AXIS_INVERSE_LABELS_ORDERE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>draw tick labels in an inversed order </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_52">
<span id="_CPPv3Ut2_52"></span><span class="target" id="lv__chart_8h_1a7cc2e4244ca368f68e5746185eda6c4a"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut2_52" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_5219LV_CHART_STYLE_MAINE">
<span id="_CPPv3NUt2_5219LV_CHART_STYLE_MAINE"></span><span class="target" id="lv__chart_8h_1a7cc2e4244ca368f68e5746185eda6c4aa2c47f3487cbb3ea2dc8ef7e3ea580e6d"></span><em class="property">enumerator </em><code class="sig-name descname">LV_CHART_STYLE_MAIN</code><a class="headerlink" href="#_CPPv4NUt2_5219LV_CHART_STYLE_MAINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="cpp function">
<dt id="_CPPv419LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF">
<span id="_CPPv319LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF"></span><span id="_CPPv219LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF"></span><span id="LV_EXPORT_CONST_INT__LV_CHART_POINT_DEF"></span><span class="target" id="lv__chart_8h_1a1a66595b2df6ebc49c2cc46de1f547d1"></span><code class="sig-name descname">LV_EXPORT_CONST_INT</code><span class="sig-paren">(</span>LV_CHART_POINT_DEF<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv419LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO">
<span id="_CPPv319LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO"></span><span id="_CPPv219LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO"></span><span id="LV_EXPORT_CONST_INT__LV_CHART_TICK_LENGTH_AUTO"></span><span class="target" id="lv__chart_8h_1a3e84aebc36e338d7838d1dd77b4ed7f6"></span><code class="sig-name descname">LV_EXPORT_CONST_INT</code><span class="sig-paren">(</span>LV_CHART_TICK_LENGTH_AUTO<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_chart_createP8lv_obj_tPK8lv_obj_t">
<span id="_CPPv315lv_chart_createP8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv215lv_chart_createP8lv_obj_tPK8lv_obj_t"></span><span id="lv_chart_create__lv_obj_tP.lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a00212c5e9d51a8c06dd3f29b7b8ff9ae"></span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<code class="sig-name descname">lv_chart_create</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>par</em>, <em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>copy</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_chart_createP8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Create a chart background objects <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the created chart background </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">par</span></code>: pointer to an object, it will be the parent of the new chart background </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">copy</span></code>: pointer to a chart background object, if not NULL then the new object will be copied from it </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_add_seriesP8lv_obj_t10lv_color_t">
<span id="_CPPv319lv_chart_add_seriesP8lv_obj_t10lv_color_t"></span><span id="_CPPv219lv_chart_add_seriesP8lv_obj_t10lv_color_t"></span><span id="lv_chart_add_series__lv_obj_tP.lv_color_t"></span><span class="target" id="lv__chart_8h_1ac58df9d2fd4b65ffccd7412c7ad3c78c"></span><a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t">lv_chart_series_t</a> *<code class="sig-name descname">lv_chart_add_series</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="../overview/display.html#_CPPv410lv_color_t" title="lv_color_t">lv_color_t</a> <em>color</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_add_seriesP8lv_obj_t10lv_color_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Allocate and add a data series to the chart <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the allocated data series </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">color</span></code>: color of the data series </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_chart_clear_serieP8lv_obj_tP17lv_chart_series_t">
<span id="_CPPv320lv_chart_clear_serieP8lv_obj_tP17lv_chart_series_t"></span><span id="_CPPv220lv_chart_clear_serieP8lv_obj_tP17lv_chart_series_t"></span><span id="lv_chart_clear_serie__lv_obj_tP.lv_chart_series_tP"></span><span class="target" id="lv__chart_8h_1a44e2b5d195e23be824f636bcf350e85b"></span>void <code class="sig-name descname">lv_chart_clear_serie</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t">lv_chart_series_t</a> *<em>serie</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_chart_clear_serieP8lv_obj_tP17lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Clear the point of a serie <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">serie</span></code>: pointer to the chart’s serie to clear </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv327lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv227lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_div_line_count__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1af1a1e796528f13129ee42b8ecf78345c"></span>void <code class="sig-name descname">lv_chart_set_div_line_count</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, uint8_t <em>hdiv</em>, uint8_t <em>vdiv</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the number of horizontal and vertical division lines <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a graph background object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">hdiv</span></code>: number of horizontal division lines </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">vdiv</span></code>: number of vertical division lines </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_chart_set_rangeP8lv_obj_t10lv_coord_t10lv_coord_t">
<span id="_CPPv318lv_chart_set_rangeP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv218lv_chart_set_rangeP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="lv_chart_set_range__lv_obj_tP.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a8b64f7c9dd8bf948d29a813a890053d8"></span>void <code class="sig-name descname">lv_chart_set_range</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, lv_coord_t <em>ymin</em>, lv_coord_t <em>ymax</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_chart_set_rangeP8lv_obj_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the minimal and maximal y values <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a graph background object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ymin</span></code>: y minimum value </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ymax</span></code>: y maximum value </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_chart_set_typeP8lv_obj_t15lv_chart_type_t">
<span id="_CPPv317lv_chart_set_typeP8lv_obj_t15lv_chart_type_t"></span><span id="_CPPv217lv_chart_set_typeP8lv_obj_t15lv_chart_type_t"></span><span id="lv_chart_set_type__lv_obj_tP.lv_chart_type_t"></span><span class="target" id="lv__chart_8h_1ab37e407ed3add8795a4a8e6db3fe0548"></span>void <code class="sig-name descname">lv_chart_set_type</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv415lv_chart_type_t" title="lv_chart_type_t">lv_chart_type_t</a> <em>type</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_chart_set_typeP8lv_obj_t15lv_chart_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new type for a chart <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">type</span></code>: new type of the chart (from ‘lv_chart_type_t’ enum) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_set_point_countP8lv_obj_t8uint16_t">
<span id="_CPPv324lv_chart_set_point_countP8lv_obj_t8uint16_t"></span><span id="_CPPv224lv_chart_set_point_countP8lv_obj_t8uint16_t"></span><span id="lv_chart_set_point_count__lv_obj_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1a81b810669221ef6d5a8aee37506dd715"></span>void <code class="sig-name descname">lv_chart_set_point_count</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, uint16_t <em>point_cnt</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_set_point_countP8lv_obj_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the number of points on a data line on a chart <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer r to chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">point_cnt</span></code>: new number of points on the data lines </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_chart_set_series_opaP8lv_obj_t8lv_opa_t">
<span id="_CPPv323lv_chart_set_series_opaP8lv_obj_t8lv_opa_t"></span><span id="_CPPv223lv_chart_set_series_opaP8lv_obj_t8lv_opa_t"></span><span id="lv_chart_set_series_opa__lv_obj_tP.lv_opa_t"></span><span class="target" id="lv__chart_8h_1a20ebf42d999e7849011fe97843da816e"></span>void <code class="sig-name descname">lv_chart_set_series_opa</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <em>opa</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_chart_set_series_opaP8lv_obj_t8lv_opa_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the opacity of the data series <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">opa</span></code>: opacity of the data series </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_set_series_widthP8lv_obj_t10lv_coord_t">
<span id="_CPPv325lv_chart_set_series_widthP8lv_obj_t10lv_coord_t"></span><span id="_CPPv225lv_chart_set_series_widthP8lv_obj_t10lv_coord_t"></span><span id="lv_chart_set_series_width__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a9424b4a22df978997e476fd54c621eac"></span>void <code class="sig-name descname">lv_chart_set_series_width</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, lv_coord_t <em>width</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_set_series_widthP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the line width or point radius of the data series <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">width</span></code>: the new width </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_chart_set_series_darkingP8lv_obj_t8lv_opa_t">
<span id="_CPPv327lv_chart_set_series_darkingP8lv_obj_t8lv_opa_t"></span><span id="_CPPv227lv_chart_set_series_darkingP8lv_obj_t8lv_opa_t"></span><span id="lv_chart_set_series_darking__lv_obj_tP.lv_opa_t"></span><span class="target" id="lv__chart_8h_1ab72fbf9eac9cb3517d2cdaedce263163"></span>void <code class="sig-name descname">lv_chart_set_series_darking</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <em>dark_eff</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_chart_set_series_darkingP8lv_obj_t8lv_opa_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the dark effect on the bottom of the points or columns <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dark_eff</span></code>: dark effect level (LV_OPA_TRANSP to turn off) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t">
<span id="_CPPv320lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="_CPPv220lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="lv_chart_init_points__lv_obj_tP.lv_chart_series_tP.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a4be26cf909097708ea9f32666f0ca8ea"></span>void <code class="sig-name descname">lv_chart_init_points</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t">lv_chart_series_t</a> *<em>ser</em>, lv_coord_t <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Initialize all data points with a value <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ser</span></code>: pointer to a data series on ‘chart’ </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y</span></code>: the new value for all points </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t">
<span id="_CPPv319lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t"></span><span id="_CPPv219lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t"></span><span id="lv_chart_set_points__lv_obj_tP.lv_chart_series_tP.lv_coord_tA"></span><span class="target" id="lv__chart_8h_1a613a2eb5ec662dbb0c14ebc46784827e"></span>void <code class="sig-name descname">lv_chart_set_points</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t">lv_chart_series_t</a> *<em>ser</em>, lv_coord_t <em>y_array</em>[]<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the value of points from an array <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ser</span></code>: pointer to a data series on ‘chart’ </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y_array</span></code>: array of ‘lv_coord_t’ points (with ‘points count’ elements ) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t">
<span id="_CPPv317lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="_CPPv217lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="lv_chart_set_next__lv_obj_tP.lv_chart_series_tP.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a39dc65670b6c2ec8747690314ca28190"></span>void <code class="sig-name descname">lv_chart_set_next</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t">lv_chart_series_t</a> *<em>ser</em>, lv_coord_t <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Shift all data right and set the most right data on a data line <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ser</span></code>: pointer to a data series on ‘chart’ </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y</span></code>: the new value of the most right data </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t">
<span id="_CPPv324lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t"></span><span id="_CPPv224lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t"></span><span id="lv_chart_set_update_mode__lv_obj_tP.lv_chart_update_mode_t"></span><span class="target" id="lv__chart_8h_1a24582adb1ae15fe098234649dcaa7253"></span>void <code class="sig-name descname">lv_chart_set_update_mode</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv422lv_chart_update_mode_t" title="lv_chart_update_mode_t">lv_chart_update_mode_t</a> <em>update_mode</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set update mode of the chart object. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">update</span></code>: mode </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_chart_set_styleP8lv_obj_t16lv_chart_style_tPK10lv_style_t">
<span id="_CPPv318lv_chart_set_styleP8lv_obj_t16lv_chart_style_tPK10lv_style_t"></span><span id="_CPPv218lv_chart_set_styleP8lv_obj_t16lv_chart_style_tPK10lv_style_t"></span><span id="lv_chart_set_style__lv_obj_tP.lv_chart_style_t.lv_style_tCP"></span><span class="target" id="lv__chart_8h_1a38cb787c1d9e0fa760328d748222735c"></span>void <code class="sig-name descname">lv_chart_set_style</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv416lv_chart_style_t" title="lv_chart_style_t">lv_chart_style_t</a> <em>type</em>, <em class="property">const</em> lv_style_t *<em>style</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_chart_set_styleP8lv_obj_t16lv_chart_style_tPK10lv_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the style of a chart <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">type</span></code>: which style should be set (can be only <code class="docutils literal notranslate"><span class="pre">LV_CHART_STYLE_MAIN</span></code>) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">style</span></code>: pointer to a style </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv326lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv226lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_x_tick_length__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1a8d886064d515a5f8f263f0279112ecd0"></span>void <code class="sig-name descname">lv_chart_set_x_tick_length</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, uint8_t <em>major_tick_len</em>, uint8_t <em>minor_tick_len</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the length of the tick marks on the x axis <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to the chart </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">major_tick_len</span></code>: the length of the major tick or <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where labels are added) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">minor_tick_len</span></code>: the length of the minor tick, <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where no labels are added) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv326lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv226lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_y_tick_length__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1a7baaac54e3dacc561bfe5d849a45ab65"></span>void <code class="sig-name descname">lv_chart_set_y_tick_length</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, uint8_t <em>major_tick_len</em>, uint8_t <em>minor_tick_len</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the length of the tick marks on the y axis <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to the chart </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">major_tick_len</span></code>: the length of the major tick or <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where labels are added) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">minor_tick_len</span></code>: the length of the minor tick, <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where no labels are added) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv436lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv336lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv236lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_secondary_y_tick_length__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1a4da230e2b8a6f4b4ddd59f80be877931"></span>void <code class="sig-name descname">lv_chart_set_secondary_y_tick_length</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, uint8_t <em>major_tick_len</em>, uint8_t <em>minor_tick_len</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv436lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the length of the tick marks on the secondary y axis <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to the chart </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">major_tick_len</span></code>: the length of the major tick or <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where labels are added) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">minor_tick_len</span></code>: the length of the minor tick, <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where no labels are added) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t">
<span id="_CPPv325lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="_CPPv225lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="lv_chart_set_x_tick_texts__lv_obj_tP.cCP.uint8_t.lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1ac561cb4748d6189a27a0e852a413893c"></span>void <code class="sig-name descname">lv_chart_set_x_tick_texts</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <em class="property">const</em> char *<em>list_of_values</em>, uint8_t <em>num_tick_marks</em>, <a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t">lv_chart_axis_options_t</a> <em>options</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the x-axis tick count and labels of a chart <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">list_of_values</span></code>: list of string values, terminated with <p>, except the last </p>
</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">num_tick_marks</span></code>: if list_of_values is NULL: total number of ticks per axis else number of ticks between two value labels </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">options</span></code>: extra options </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv435lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t">
<span id="_CPPv335lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="_CPPv235lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="lv_chart_set_secondary_y_tick_texts__lv_obj_tP.cCP.uint8_t.lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1a381101d6a74c17cf5a22e5f303bcf6a9"></span>void <code class="sig-name descname">lv_chart_set_secondary_y_tick_texts</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <em class="property">const</em> char *<em>list_of_values</em>, uint8_t <em>num_tick_marks</em>, <a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t">lv_chart_axis_options_t</a> <em>options</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv435lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the secondary y-axis tick count and labels of a chart <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">list_of_values</span></code>: list of string values, terminated with <p>, except the last </p>
</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">num_tick_marks</span></code>: if list_of_values is NULL: total number of ticks per axis else number of ticks between two value labels </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">options</span></code>: extra options </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t">
<span id="_CPPv325lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="_CPPv225lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="lv_chart_set_y_tick_texts__lv_obj_tP.cCP.uint8_t.lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1abfeab51b774e1335bb0c3b3a7ff1e796"></span>void <code class="sig-name descname">lv_chart_set_y_tick_texts</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <em class="property">const</em> char *<em>list_of_values</em>, uint8_t <em>num_tick_marks</em>, <a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t">lv_chart_axis_options_t</a> <em>options</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the y-axis tick count and labels of a chart <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to a chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">list_of_values</span></code>: list of string values, terminated with <p>, except the last </p>
</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">num_tick_marks</span></code>: if list_of_values is NULL: total number of ticks per axis else number of ticks between two value labels </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">options</span></code>: extra options </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_set_marginP8lv_obj_t8uint16_t">
<span id="_CPPv319lv_chart_set_marginP8lv_obj_t8uint16_t"></span><span id="_CPPv219lv_chart_set_marginP8lv_obj_t8uint16_t"></span><span id="lv_chart_set_margin__lv_obj_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1a57f96b06edadd1792ca1594b88d33cfe"></span>void <code class="sig-name descname">lv_chart_set_margin</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, uint16_t <em>margin</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_set_marginP8lv_obj_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the margin around the chart, used for axes value and ticks <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to an chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">margin</span></code>: value of the margin [px] </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_chart_get_typePK8lv_obj_t">
<span id="_CPPv317lv_chart_get_typePK8lv_obj_t"></span><span id="_CPPv217lv_chart_get_typePK8lv_obj_t"></span><span id="lv_chart_get_type__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a1fe1423df4816e09ea874d66fb43cbdf"></span><a class="reference internal" href="#_CPPv415lv_chart_type_t" title="lv_chart_type_t">lv_chart_type_t</a> <code class="sig-name descname">lv_chart_get_type</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_chart_get_typePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the type of a chart <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>type of the chart (from ‘lv_chart_t’ enum) </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_chart_get_point_cntPK8lv_obj_t">
<span id="_CPPv322lv_chart_get_point_cntPK8lv_obj_t"></span><span id="_CPPv222lv_chart_get_point_cntPK8lv_obj_t"></span><span id="lv_chart_get_point_cnt__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1aae9841db22df305f09d2afe503bef897"></span>uint16_t <code class="sig-name descname">lv_chart_get_point_cnt</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_chart_get_point_cntPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the data point number per data line on chart <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>point number on each data line </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_chart_get_series_opaPK8lv_obj_t">
<span id="_CPPv323lv_chart_get_series_opaPK8lv_obj_t"></span><span id="_CPPv223lv_chart_get_series_opaPK8lv_obj_t"></span><span id="lv_chart_get_series_opa__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a6c91d5fdb1f4503f3eb673c7e0db3bf8"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">lv_chart_get_series_opa</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_chart_get_series_opaPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the opacity of the data series <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the opacity of the data series </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_get_series_widthPK8lv_obj_t">
<span id="_CPPv325lv_chart_get_series_widthPK8lv_obj_t"></span><span id="_CPPv225lv_chart_get_series_widthPK8lv_obj_t"></span><span id="lv_chart_get_series_width__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a8e33e781e526c97e2e5a35db1d78feea"></span>lv_coord_t <code class="sig-name descname">lv_chart_get_series_width</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_get_series_widthPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the data series width <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the width the data series (lines or points) </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_chart_get_series_darkingPK8lv_obj_t">
<span id="_CPPv327lv_chart_get_series_darkingPK8lv_obj_t"></span><span id="_CPPv227lv_chart_get_series_darkingPK8lv_obj_t"></span><span id="lv_chart_get_series_darking__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a947d11e1d5341caad22ba5dc0f036145"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">lv_chart_get_series_darking</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_chart_get_series_darkingPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the dark effect level on the bottom of the points or columns <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>dark effect level (LV_OPA_TRANSP to turn off) </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_chart_get_stylePK8lv_obj_t16lv_chart_style_t">
<span id="_CPPv318lv_chart_get_stylePK8lv_obj_t16lv_chart_style_t"></span><span id="_CPPv218lv_chart_get_stylePK8lv_obj_t16lv_chart_style_t"></span><span id="lv_chart_get_style__lv_obj_tCP.lv_chart_style_t"></span><span class="target" id="lv__chart_8h_1a05ba2905f74c2274dd94d54de036ceb5"></span><em class="property">const</em> lv_style_t *<code class="sig-name descname">lv_chart_get_style</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em>, <a class="reference internal" href="#_CPPv416lv_chart_style_t" title="lv_chart_style_t">lv_chart_style_t</a> <em>type</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_chart_get_stylePK8lv_obj_t16lv_chart_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the style of an chart object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the chart’s style </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to an chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">type</span></code>: which style should be get (can be only <code class="docutils literal notranslate"><span class="pre">LV_CHART_STYLE_MAIN</span></code>) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_get_marginP8lv_obj_t">
<span id="_CPPv319lv_chart_get_marginP8lv_obj_t"></span><span id="_CPPv219lv_chart_get_marginP8lv_obj_t"></span><span id="lv_chart_get_margin__lv_obj_tP"></span><span class="target" id="lv__chart_8h_1a1c27ea39a6ecea417151b835877d7e17"></span>uint16_t <code class="sig-name descname">lv_chart_get_margin</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_get_marginP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the margin around the chart, used for axes value and labels <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to an chart object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">return</span></code>: value of the margin </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_chart_refreshP8lv_obj_t">
<span id="_CPPv316lv_chart_refreshP8lv_obj_t"></span><span id="_CPPv216lv_chart_refreshP8lv_obj_t"></span><span id="lv_chart_refresh__lv_obj_tP"></span><span class="target" id="lv__chart_8h_1a38cd247acd91a3291cea2ffecf5a18b6"></span>void <code class="sig-name descname">lv_chart_refresh</code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>chart</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_chart_refreshP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Refresh a chart if its data line has changed <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">chart</span></code>: pointer to chart object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

</div>
<dl class="cpp struct">
<dt id="_CPPv417lv_chart_series_t">
<span id="_CPPv317lv_chart_series_t"></span><span id="_CPPv217lv_chart_series_t"></span><span id="lv_chart_series_t"></span><span class="target" id="structlv__chart__series__t"></span><em class="property">struct </em><code class="sig-name descname">lv_chart_series_t</code><a class="headerlink" href="#_CPPv417lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t6pointsE">
<span id="_CPPv3N17lv_chart_series_t6pointsE"></span><span id="_CPPv2N17lv_chart_series_t6pointsE"></span><span id="lv_chart_series_t::points__lv_coord_tP"></span><span class="target" id="structlv__chart__series__t_1ad5f48678823de3abe1dccc263f616f44"></span>lv_coord_t *<code class="sig-name descname">points</code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t6pointsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t5colorE">
<span id="_CPPv3N17lv_chart_series_t5colorE"></span><span id="_CPPv2N17lv_chart_series_t5colorE"></span><span id="lv_chart_series_t::color__lv_color_t"></span><span class="target" id="structlv__chart__series__t_1ab998e579db24aa8522b84b686ac65bac"></span><a class="reference internal" href="../overview/display.html#_CPPv410lv_color_t" title="lv_color_t">lv_color_t</a> <code class="sig-name descname">color</code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t5colorE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t11start_pointE">
<span id="_CPPv3N17lv_chart_series_t11start_pointE"></span><span id="_CPPv2N17lv_chart_series_t11start_pointE"></span><span id="lv_chart_series_t::start_point__uint16_t"></span><span class="target" id="structlv__chart__series__t_1ad98c186d0f75bab086140f59dc24f833"></span>uint16_t <code class="sig-name descname">start_point</code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t11start_pointE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv419lv_chart_axis_cfg_t">
<span id="_CPPv319lv_chart_axis_cfg_t"></span><span id="_CPPv219lv_chart_axis_cfg_t"></span><span id="lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__axis__cfg__t"></span><em class="property">struct </em><code class="sig-name descname">lv_chart_axis_cfg_t</code><a class="headerlink" href="#_CPPv419lv_chart_axis_cfg_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14list_of_valuesE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14list_of_valuesE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14list_of_valuesE"></span><span id="lv_chart_axis_cfg_t::list_of_values__cCP"></span><span class="target" id="structlv__chart__axis__cfg__t_1a076f8e1c36c92e67ceb452ee305c2151"></span><em class="property">const</em> char *<code class="sig-name descname">list_of_values</code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14list_of_valuesE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t7optionsE">
<span id="_CPPv3N19lv_chart_axis_cfg_t7optionsE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t7optionsE"></span><span id="lv_chart_axis_cfg_t::options__lv_chart_axis_options_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1acacfd3e00026ca18f7efd07d302ded58"></span><a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t">lv_chart_axis_options_t</a> <code class="sig-name descname">options</code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t7optionsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14num_tick_marksE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14num_tick_marksE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14num_tick_marksE"></span><span id="lv_chart_axis_cfg_t::num_tick_marks__uint8_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1ae2ef359bacc00714f32adc24647a17ac"></span>uint8_t <code class="sig-name descname">num_tick_marks</code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14num_tick_marksE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14major_tick_lenE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14major_tick_lenE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14major_tick_lenE"></span><span id="lv_chart_axis_cfg_t::major_tick_len__uint8_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1a26d7005eb3e7bfb92d1280a98cdac146"></span>uint8_t <code class="sig-name descname">major_tick_len</code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14major_tick_lenE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14minor_tick_lenE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14minor_tick_lenE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14minor_tick_lenE"></span><span id="lv_chart_axis_cfg_t::minor_tick_len__uint8_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1a0bbe4465b76af17e841a36251a9a53d0"></span>uint8_t <code class="sig-name descname">minor_tick_len</code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14minor_tick_lenE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv414lv_chart_ext_t">
<span id="_CPPv314lv_chart_ext_t"></span><span id="_CPPv214lv_chart_ext_t"></span><span id="lv_chart_ext_t"></span><span class="target" id="structlv__chart__ext__t"></span><em class="property">struct </em><code class="sig-name descname">lv_chart_ext_t</code><a class="headerlink" href="#_CPPv414lv_chart_ext_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t9series_llE">
<span id="_CPPv3N14lv_chart_ext_t9series_llE"></span><span id="_CPPv2N14lv_chart_ext_t9series_llE"></span><span id="lv_chart_ext_t::series_ll__lv_ll_t"></span><span class="target" id="structlv__chart__ext__t_1a80f9e02ef7b2c1b15fb71215f692e3de"></span>lv_ll_t <code class="sig-name descname">series_ll</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t9series_llE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4yminE">
<span id="_CPPv3N14lv_chart_ext_t4yminE"></span><span id="_CPPv2N14lv_chart_ext_t4yminE"></span><span id="lv_chart_ext_t::ymin__lv_coord_t"></span><span class="target" id="structlv__chart__ext__t_1ae92ccdc517625fddab81283e5bfbf5ba"></span>lv_coord_t <code class="sig-name descname">ymin</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4yminE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4ymaxE">
<span id="_CPPv3N14lv_chart_ext_t4ymaxE"></span><span id="_CPPv2N14lv_chart_ext_t4ymaxE"></span><span id="lv_chart_ext_t::ymax__lv_coord_t"></span><span class="target" id="structlv__chart__ext__t_1acacc7ae41724b9938e20cadafbc4cbe7"></span>lv_coord_t <code class="sig-name descname">ymax</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4ymaxE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t8hdiv_cntE">
<span id="_CPPv3N14lv_chart_ext_t8hdiv_cntE"></span><span id="_CPPv2N14lv_chart_ext_t8hdiv_cntE"></span><span id="lv_chart_ext_t::hdiv_cnt__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1afaa3a23ce6c551ab39fb9119811d0971"></span>uint8_t <code class="sig-name descname">hdiv_cnt</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t8hdiv_cntE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t8vdiv_cntE">
<span id="_CPPv3N14lv_chart_ext_t8vdiv_cntE"></span><span id="_CPPv2N14lv_chart_ext_t8vdiv_cntE"></span><span id="lv_chart_ext_t::vdiv_cnt__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1afe741be6519bf36f55c104e2a0c9f451"></span>uint8_t <code class="sig-name descname">vdiv_cnt</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t8vdiv_cntE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t9point_cntE">
<span id="_CPPv3N14lv_chart_ext_t9point_cntE"></span><span id="_CPPv2N14lv_chart_ext_t9point_cntE"></span><span id="lv_chart_ext_t::point_cnt__uint16_t"></span><span class="target" id="structlv__chart__ext__t_1a184e7fea8a0be4dffc8884542be7c4a7"></span>uint16_t <code class="sig-name descname">point_cnt</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t9point_cntE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4typeE">
<span id="_CPPv3N14lv_chart_ext_t4typeE"></span><span id="_CPPv2N14lv_chart_ext_t4typeE"></span><span id="lv_chart_ext_t::type__lv_chart_type_t"></span><span class="target" id="structlv__chart__ext__t_1accf1de9ab5bd6515ac902771cc1901af"></span><a class="reference internal" href="#_CPPv415lv_chart_type_t" title="lv_chart_type_t">lv_chart_type_t</a> <code class="sig-name descname">type</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4typeE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t6y_axisE">
<span id="_CPPv3N14lv_chart_ext_t6y_axisE"></span><span id="_CPPv2N14lv_chart_ext_t6y_axisE"></span><span id="lv_chart_ext_t::y_axis__lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__ext__t_1a0c8ab36d5261a7c4822a9b19acfc8a73"></span><a class="reference internal" href="#_CPPv419lv_chart_axis_cfg_t" title="lv_chart_axis_cfg_t">lv_chart_axis_cfg_t</a> <code class="sig-name descname">y_axis</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t6y_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t6x_axisE">
<span id="_CPPv3N14lv_chart_ext_t6x_axisE"></span><span id="_CPPv2N14lv_chart_ext_t6x_axisE"></span><span id="lv_chart_ext_t::x_axis__lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__ext__t_1ab7d47561bca2358fe58d126ae23beba7"></span><a class="reference internal" href="#_CPPv419lv_chart_axis_cfg_t" title="lv_chart_axis_cfg_t">lv_chart_axis_cfg_t</a> <code class="sig-name descname">x_axis</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t6x_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t16secondary_y_axisE">
<span id="_CPPv3N14lv_chart_ext_t16secondary_y_axisE"></span><span id="_CPPv2N14lv_chart_ext_t16secondary_y_axisE"></span><span id="lv_chart_ext_t::secondary_y_axis__lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__ext__t_1a7857f174fc02b9a204844e79a941ce10"></span><a class="reference internal" href="#_CPPv419lv_chart_axis_cfg_t" title="lv_chart_axis_cfg_t">lv_chart_axis_cfg_t</a> <code class="sig-name descname">secondary_y_axis</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t16secondary_y_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t6marginE">
<span id="_CPPv3N14lv_chart_ext_t6marginE"></span><span id="_CPPv2N14lv_chart_ext_t6marginE"></span><span id="lv_chart_ext_t::margin__uint16_t"></span><span class="target" id="structlv__chart__ext__t_1a22186b201b385dcf83394b80316176c2"></span>uint16_t <code class="sig-name descname">margin</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t6marginE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t11update_modeE">
<span id="_CPPv3N14lv_chart_ext_t11update_modeE"></span><span id="_CPPv2N14lv_chart_ext_t11update_modeE"></span><span id="lv_chart_ext_t::update_mode__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1a126ff3ab312d4fb14317e43f7ff62b77"></span>uint8_t <code class="sig-name descname">update_mode</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t11update_modeE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t5widthE">
<span id="_CPPv3N14lv_chart_ext_t5widthE"></span><span id="_CPPv2N14lv_chart_ext_t5widthE"></span><span id="lv_chart_ext_t::width__lv_coord_t"></span><span class="target" id="structlv__chart__ext__t_1a52a61081567ec1cd6a41f66d4d22bfef"></span>lv_coord_t <code class="sig-name descname">width</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t5widthE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t3numE">
<span id="_CPPv3N14lv_chart_ext_t3numE"></span><span id="_CPPv2N14lv_chart_ext_t3numE"></span><span id="lv_chart_ext_t::num__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1aad58ebd31ac712e524a436874f286d23"></span>uint8_t <code class="sig-name descname">num</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t3numE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t3opaE">
<span id="_CPPv3N14lv_chart_ext_t3opaE"></span><span id="_CPPv2N14lv_chart_ext_t3opaE"></span><span id="lv_chart_ext_t::opa__lv_opa_t"></span><span class="target" id="structlv__chart__ext__t_1a39f542318faeb740c4ead71204a12c8b"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">opa</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t3opaE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4darkE">
<span id="_CPPv3N14lv_chart_ext_t4darkE"></span><span id="_CPPv2N14lv_chart_ext_t4darkE"></span><span id="lv_chart_ext_t::dark__lv_opa_t"></span><span class="target" id="structlv__chart__ext__t_1a69211bb3681041c17549c5abbcd3b697"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">dark</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4darkE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t6seriesE">
<span id="_CPPv3N14lv_chart_ext_t6seriesE"></span><span id="_CPPv2N14lv_chart_ext_t6seriesE"></span><span class="target" id="structlv__chart__ext__t_1aad7f1253f103f53ec512e65185f57723"></span><em class="property">struct</em> <a class="reference internal" href="#_CPPv414lv_chart_ext_t" title="lv_chart_ext_t">lv_chart_ext_t</a>::<strong>[anonymous]</strong> <code class="sig-name descname">series</code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t6seriesE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="cont.html" class="btn btn-neutral float-right" title="Container (lv_cont)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="cb.html" class="btn btn-neutral float-left" title="Checkbox (lv_cb)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2020, Gabor Kiss-Vamosi
      <span class="lastupdated">
        Last updated on Nov 21, 2020.
      </span>

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
  

 <script type="text/javascript">
    $(document).ready(function() {
        $(".toggle > *").hide();
        $(".toggle .header").show();
        $(".toggle .header").click(function() {
            $(this).parent().children().not(".header").toggle(400);
            $(this).parent().children(".header").toggleClass("open");
        })
    });
</script>


<script type="text/javascript" src="https://docs.lvgl.io/misc/common.js"></script>



</body>
</html>